package cn.gudian.cms.Message

class LinkGroup {
  String name;
  double orderNum;//排序
  String description;
  static mapping = {
     sort id:"desc"
    description type: 'text'
    name index: 'Name_Idx,NameAndOrderNum_Idx'
    orderNum index: 'OrderNum_Idx,NameAndOrderNum_Idx'
  }
  static constraints = {
    name(unique: true, maxlength: 200);
    orderNum();
    description();
  }
   String toString() {
    "${this.name}"
  }
}
